home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
awe2-0_1.lha
/
awe2-0.1
/
Src
/
RCS
/
HardwareContextP-sparc.h,v
< prev
next >
Wrap
Text File
|
1990-06-28
|
1KB
|
73 lines
head 1.2;
branch ;
access ;
symbols ;
locks grunwald:1.2; strict;
comment @ * @;
1.2
date 90.06.28.14.46.53; author grunwald; state Exp;
branches ;
next 1.1;
1.1
date 90.06.08.17.27.22; author grunwald; state Exp;
branches ;
next ;
desc
@@
1.2
log
@*** empty log message ***
@
text
@// This may look like C code, but it is really -*- C++ -*-
//
// Copyright (C) 1988 University of Illinois, Urbana, Illinois
//
// written by Dirk Grunwald (grunwald@@cs.uiuc.edu)
//
#ifndef HardwareContextP_h
#define HardwareContextP_h
#pragma once
#include "HardwareContext.h"
inline void **
HardwareContext::mallocAt()
{
return( stackMallocAt );
}
static inline void
HardwareContext::switchContext(HardwareContext *to)
{
if ( checkStackLimits ) { // check old context
checkStack();
}
magicSwitchTo(to);
if ( checkStackLimits ) { // check new context
checkStack();
}
}
#endif HardwareContextP_h
@
1.1
log
@Initial revision
@
text
@d22 1
@